package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:张熳
 * Date:2025-08-23
 * Time:21:56
 */
//继承
//父类成员访问 + super关键字

public class Base {
    public int a = 1;
    public int b = 2;

    public void methodA(){
        System.out.println("Base中的methodA()方法");
    }
}
